class_name AnimatedButtonProperty
extends Resource

@export var enable:bool = true
@export_group("正向")
@export var duration:float = 1
@export var transition:Tween.TransitionType
@export var easing:Tween.EaseType
@export var as_relative:bool = false
@export var delay:float = 0
@export_group("")
@export_group("反向")
@export var resume_duration:float = 1
@export var resume_transition:Tween.TransitionType
@export var resume_easing:Tween.EaseType
@export var resume_as_relative:bool = false
@export var resume_delay:float = 0
@export_group("")

func add_tween(btn:AnimatedButton,tween:Tween):
	if not enable:
		return
func add_resume_tween(btn:AnimatedButton,resume_tween:Tween):
	if not enable:
		return
